package com.example.ball;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;

import com.example.ball.R;
import com.sam.widget.headerBar.BaseSegmentedBar;

/**
 * Created by Administrator on 2016/7/21.
 */
public class Test extends AppCompatActivity {
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.splendid_activity);
        findView();

    }

    protected void findView() {
        BaseSegmentedBar header = (BaseSegmentedBar) findViewById(R.id.header);
        header.setSegmentInfo(new String[]{"精彩瞬间","我的圈子"},0, null);

    }
}
